package com.fuyin.dto.params;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yuanxilan (yuanxilan@keep.com)
 * @Description 登陆参数
 * @date 2021年10月23日 2:39 下午
 * @since
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class LoginParam implements Serializable {

    @ApiModelProperty(value = "用户名", required = true)
    private String userName;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @ApiModelProperty(value = "爱好")
    @Deprecated
    private String hobby;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("验证码")
    private String code;

    @ApiModelProperty("验证码对应的键值")
    private String key;
}
